#!/bin/bash
# Show/Hide hidden files on Mac
SHOW="Yes"
[ $# -ge 1 ] && [ $1 = "off" ] && SHOW="No"
defaults write com.apple.finder AppleShowAllFiles $SHOW && killall Finder
exit 0